import http from '../http'
export default{
    personalMessage(params,callback){           //详情页---个人信息
        http.get('userServiceInfo/data/getServiceDetial',{params},callback);
    },
    personalService(params,callback){           //详情页---个人服务
        http.get('/userServiceInfo/data/myService',{params},callback);
    },
    payforOrderbefore(params,callback){           //详情页---立即支付(普通下单)
        http.post('/order/create/normalOrder',params,callback);
    },
    payforOrderafter(params,callback){           //详情页---支付提交
        http.get('/order/operate/pay',{params},callback);
    },
    pwComment(params,callback){           //    陪玩服务ID
        http.post('/order/comment/list',params,callback);
    },
    usableList(params,callback){           //    可用的优惠券列表
        http.get('/couponUser/usableList',{params},callback);
    },
    rankList(params,callback){           //    评价总评星和评价标签
        http.post('/order/comment/rankList',params,callback);
    },
    busyTimes(params,callback){           //    获取服务人员的空闲时间
        http.get('/order/query/seller/busyTimes',{params},callback);
    },
}